#ifndef SYMMUL_H
#define SYMMUL_H

#include <sys/time.h>

#define THREAD_SIZE 4
#define BLOCK_SIZE 8
#define GRID_SIZE 16
//#define ITER 1;
#define N GRID_SIZE*BLOCK_SIZE*THREAD_SIZE
#define SIZE N*N
#define idx(x,y) x*N+y
int ITER = 2;



double
wtime ()
{
  struct timeval tv;
  gettimeofday (&tv, NULL);
  return (tv.tv_sec + 1E-6 * tv.tv_usec);
}

#endif // SYMMUL_H
